//
//  TSFindAcrivityItemViewModel.m
//  TaShuo
//
//  Created by N-X on 2018/3/20.
//  Copyright © 2018年 MRNAN. All rights reserved.
//

#import "TSFindAcrivityItemViewModel.h"
#import "TSFindActivityModel.h"
#import "TSFindActivityCollectionCell.h"

@implementation TSFindAcrivityItemViewModel
- (void)bindView:(UIView *)view
{
    TSFindActivityCollectionCell * cell = (TSFindActivityCollectionCell *)view;
    cell.catNameStr = _itemModel.catName;
    cell.headerPicUrl = [_itemModel.headpic componentsSeparatedByString:@"?"][0];
    cell.titleStr = _itemModel.title;
    cell.endTimeStr = _itemModel.endTimeStr;
}
@end
